<h1>Request a service</h1>
<%= link_to 'Continue', :action => 'select_room' %>
<table>
  <tr>
    <th>Accomodation</th>
    <th>Date</th>
    <th>Service</th>
  </tr>

<% @requests.each do |request| %>
  <tr>
    <td><%=h request.accomodation_id %></td>
    <td><%=h request.date %></td>
    <td><%=h request.service_id %></td>
    <td><%= link_to 'Show', request %></td>
    <td><%= link_to 'Edit', edit_request_path(request) %></td>
    <td><%= link_to 'Destroy', request, :confirm => 'Are you sure?', :method => :delete %></td>	
  </tr>
<% end %>
</table>

<br />

